//
//  TitleCollectionReusableView.m
//  HappinessTrip
//
//  Created by dllo on 15/10/7.
//  Copyright © 2015年 蓝鸥科技. All rights reserved.
//

#import "TitleCollectionReusableView.h"
#import "Fit.h"

@implementation TitleCollectionReusableView
-(void)dealloc
{
    [_titleLabel release];
    [_button release];
    [super dealloc];
}

- (id)initWithFrame:(CGRect)frame
{
    self = [super initWithFrame:frame];
    if (self)
    {
        self.titleLabel = [[UILabel alloc] initWithFrame:CGRectMake(30 * W, 0, 200 * W, 40 * H)];
        self.titleLabel.font = [UIFont systemFontOfSize:18];
        self.iconImageView = [[UIImageView alloc]initWithFrame:CGRectMake(10 * W, 10 * H, 20 * W, 20 * H)];
        
        [self addSubview:self.titleLabel];
        [self addSubview:self.iconImageView];
    }
    return self;
}



@end
